package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.assembler;

import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.proxy.flow.*;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyProxyFlowDTO;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.proxy.flow.LazyProxyFlow;
import org.wu.framework.core.mapper.LazyStructMapper;
import org.wu.framework.core.mapper.LazyStructMappers;

/**
 * describe 代理流量
 *
 * @author Jia wei Wu
 * @date 2025/06/06 11:39 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler
 **/
@LazyStructMapper
public interface LazyProxyFlowDTOAssembler {


    /**
     * describe MapStruct 创建的代理对象
     *
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyFlowDTOAssembler INSTANCE = LazyStructMappers.getMapper(LazyProxyFlowDTOAssembler.class);

    /**
     * describe 应用层存储入参转换成 领域对象
     *
     * @param lazyProxyFlowStoryCommand 保存代理流量对象
     * @return {@link LazyProxyFlow} 代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyFlow toLazyProxyFlow(LazyProxyFlowStoryCommand lazyProxyFlowStoryCommand);

    /**
     * describe 应用层更新入参转换成 领域对象
     *
     * @param lazyProxyFlowUpdateCommand 更新代理流量对象
     * @return {@link LazyProxyFlow} 代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyFlow toLazyProxyFlow(LazyProxyFlowUpdateCommand lazyProxyFlowUpdateCommand);

    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param lazyProxyFlowQueryOneCommand 查询单个代理流量对象参数
     * @return {@link LazyProxyFlow} 代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyFlow toLazyProxyFlow(LazyProxyFlowQueryOneCommand lazyProxyFlowQueryOneCommand);

    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param lazyProxyFlowQueryListCommand 查询集合代理流量对象参数
     * @return {@link LazyProxyFlow} 代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyFlow toLazyProxyFlow(LazyProxyFlowQueryListCommand lazyProxyFlowQueryListCommand);

    /**
     * describe 应用层删除入参转换成 领域对象
     *
     * @param lazyProxyFlowRemoveCommand 删除代理流量对象参数
     * @return {@link LazyProxyFlow} 代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyFlow toLazyProxyFlow(LazyProxyFlowRemoveCommand lazyProxyFlowRemoveCommand);

    /**
     * describe 持久层领域对象转换成DTO对象
     *
     * @param lazyProxyFlow 代理流量领域对象
     * @return {@link LazyProxyFlowDTO} 代理流量DTO对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyFlowDTO fromLazyProxyFlow(LazyProxyFlow lazyProxyFlow);
}